import React from 'react'
type AppProps = React.PropsWithChildren<{ text: string }>

const ReactPropsWithChildren = ({ text, children }: AppProps) => (
  <div>
    {text}
  </div>
)

export default ReactPropsWithChildren

